<div class="main">
    <div class="leftcolumn">
        <div class="bxdetail">
            <h2 class="tleprocategories"><span>TIN TỨC & SỰ KIỆN</span></h2>
            <div class="listnews">
                <?php if ($data): ?>
                    <ul>
                        <?php foreach ($data as $key => $value): ?>
                            <li>
                                <img alt="<?= $value['name'] ?>" src="<?= Yii::app()->baseUrl ?>/timthumb.php?src=<?= Yii::app()->baseUrl ?>/data/cover/<?= $value['cover_image'] ?>&h=125&w=180"/>
                                <a href="<?= Yii::app()->baseUrl ?>/tin-tuc-su-kien/<?= $value['slug'] ?>.html">
                                    <?= $value['name'] ?></a>
                                <span><?= $value['short_description'] ?></span>
                            </li>
                            <?php
                        endforeach;
                        ?>
                    </ul>
                <?php
                else:
                    echo "Không tìm thấy";
                endif;
                ?>
            </div>
        </div>
    </div>

<?php $this->widget('SidebarWidget'); ?>
</div>